import { Application } from 'egg';

export default (app: Application) => {
    const {CHAR} = app.Sequelize;
    const model = app.model.define('GradeEmployee', {
        grade_employee_id: {
            type: CHAR(32),
            primaryKey: true
        },//主键id
        project_id: CHAR(32),//项目id
        employee_id: CHAR(32),//加分人id
        created_by: CHAR(32),//创建人
        updated_by: CHAR(32),//更新人
        is_delete: CHAR(1),//标识是否删除（0：否，1：是）
    }, { tableName: 't_grade_employee' });
    return model;
};
export class GradeEmployee {
    grade_employee_id:string;
    project_id: string;
    employee_id: string;
    created_by: string;
    updated_by: string;
    is_delete: string;
}